package com.oriental.manage.service.specially.Impl;

import com.oriental.manage.service.specially.MerchContrastService;
import com.oriental.riskfront.api.model.specially.MerchContrastDto;
import com.oriental.riskfront.api.service.MerchContrastInterFace;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author: yutao
 * Date: 2017/5/8
 * Time: 15:26
 * Desc：
 */
@Service
@Slf4j
public class MerchContrastServiceImpl implements MerchContrastService {

    @Autowired
    private MerchContrastInterFace merchContrastInterFace;
    @Override
    public List<MerchContrastDto> queryPage(MerchContrastDto merchContrast) {
        List<MerchContrastDto> merchContrasts = merchContrastInterFace.queryPage(merchContrast);
        log.info("查询商户信息对比协查",merchContrasts);
        return merchContrasts;
    }

    @Override
    public List<MerchContrastDto> queryDetail(MerchContrastDto merchContrast) {
        return merchContrastInterFace.queryInfoContrast(merchContrast);
    }


}
